ackage Dome;

import java.util.Scanner;

public class Lazy5 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		System.out.println("请输入第一个数");
		a = scan.nextInt();
		System.out.println("请输入第二个数");
		b = scan.nextInt();
		System.out.println("请输入第三个数");
		c = scan.nextInt();
		System.out.println("用户输入的是"+a+b+c);
		if(a>b && b>c) {
			System.out.println("排序后"+c+b+a);
		}else if(a>c && c>b) {
			System.out.println("排序后"+b+c+a);
		}else if(b>a && a>c) {
			System.out.println("排序后"+c+a+b);
		}else if(b>c && c>a) {
			System.out.println("排序后"+a+c+b);
		}else if(c>b && b>a) {
			System.out.println("排序后"+a+b+c);
		}else if(c>a && a>b) {
			System.out.println("排序后"+b+a+c);
		}
	}

}